//
//  NetworkService.h
//  ios-loan
//
//  Created by ys on 15/12/2017.
//  Copyright © 2017 hxhg. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NetworkService : NSObject

+ (void)send:(NSMutableURLRequest *)request
completionHandler:(void(^)(id responseObj, NSError *error))completion;

+ (void)send:(NSMutableURLRequest *)request
    progress:(void (^)(NSProgress *uploadProgress))uploadProgressBlock
completionHandler:(void(^)(id responseObj, NSError *error))completion;

@end
